﻿@using Web.Controllers
<div id="header">
    <div id="logo">
        <h1 id="header_broomcupboard">
            <span class="logonew">
                <img src="/assets/img/logo.png" width="200" height="100"/>
                @if (Common.GetSystemType() == 0)
                {
                    <text>科室会议查询系统</text>
                }
                else
                {
                    <text>短信系统</text>
                }
            </span>
        </h1>
        <h4 id="header_strapline">
            </h4>
        <ul id="welcome">
            <li>@Html.ActionLink("退出", "LogOff", "account")</li>
            <li>欢迎 <strong>@(Web.Controllers.Common.GetUserName())</strong></li>
        </ul>
        <!--/end #welcome-->
    </div>
    <!--/end #logo-->
</div>
<script type="text/javascript">
    function show(id) {
        $("#" + id).show();
    }
    function hide(id) {
        $("#" + id).hide();
    }
    function toggle(id) {
        $("#" + id).toggle();
    }
    function associate(master, slave) {
        if ($("#" + master).attr("checked") == false)
            hide(slave);
    }
</script>
